package com.sdy.healthcode.biz.service.impl;

import com.sdy.healthcode.biz.dto.PersonnelEntryAndExitDTO;
import com.sdy.healthcode.biz.model.ReportPeoplePass;
import com.sdy.healthcode.biz.mapper.ReportPeoplePassMapper;
import com.sdy.healthcode.biz.service.ReportPeoplePassService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 人员进出分析报表 服务实现类
 * </p>
 *
 * @author cgj
 * @since 2020-02-28
 */
@Slf4j
@Service
public class ReportPeoplePassServiceImpl extends BaseServiceImpl<ReportPeoplePass> implements ReportPeoplePassService {
    @Autowired
    private ReportPeoplePassMapper reportPeoplePassMapper;

    @Override
    public List<PersonnelEntryAndExitDTO> getEtryAndExitBase() {
        return reportPeoplePassMapper.getEtryAndExitBase();
    }
}
